package com.ctrip.study.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class FileSystemXmlApplicationContextTest {
	
	public static void main(String[] args) {
		String xmlPath = "D:/workspace/ctripJava/MyStudy/src/main/resources/applicationContext-myStudy.xml";
		ApplicationContext context = new FileSystemXmlApplicationContext(xmlPath);
//		Person person = (Person)context.getBean("person");
//		System.out.println(person.getName());
	}

}
